home *** CD-ROM | disk | FTP | other *** search
- Path: news.crystalball.com!news
- From: Larry Weiss <lfw@oc.com>
- Newsgroups: comp.sources.wanted,comp.lang.c,comp.unix.programmer
- Subject: Re: Seek unix2dos.c OR help with tr
- Date: Tue, 19 Mar 1996 09:45:59 -0600
- Organization: crystalball.com
- Message-ID: <314ED6B7.6DFA@oc.com>
- References: <4i0946$7io@nuke.csu.net> <danpop.826545577@rscernix> <4i9dj4INN7kl@keats.ugrad.cs.ubc.ca> <4ia0kj$d8s@solutions.solon.com> <31488F4F.726E@oc.com> <danpop.826917054@rscernix>
- NNTP-Posting-Host: external.oc.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (Win16; I)
-
- Dan Pop wrote:
- >
- > Moreover, 0x1f is not a magic number _in this context_ any more than 2
- > is a magic number in a binary search algorithm or 3.1415926 is a magic
- > number when computing the circumference of a circle. All of them are
- > natural constants. They're self-documenting and aren't expected to be
- > changed later, by the code maintainer.
- >
-
- Dan, earlier you did not indicate any "definition" for "magic numbers"
- other than to accept the rule that any numeric literal other than 0
- needed to be given a name.
-
- Now I understand that we are in perfect agreement on this topic!
-
- Thanks for the clarity!
-